package com.test.practice.annotation.inherited;

public class SubClass extends Base {
    public static void main(String[] args) {
        System.out.println(
                SubClass
                        .class
                        .isAnnotationPresent(MyTag.class));
        System.out.println(SubClass.class
                .getAnnotation(MyTag.class).value());
    }
}
